import Vue from 'vue';
import App from './App.vue';
// 默认导出+普通导出
import Vant, { Notify } from 'vant';
import router from '@/router';
import store from '@/store';
import moment from 'moment';
// 设置moment时间语言
moment.locale('zh-cn'); // 中文
import PlainText from '@/components/plain-text.vue';
import CommentList from '@/components/comment-list.vue'
import 'vant/lib/index.less';
import '@/assets/main.less';
Vue.component('PlainText', PlainText);
Vue.component('CommentList', CommentList);
// 全局注册
Vue.use(Vant);
Vue.use(Notify);
Vue.config.productionTip = false;
new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app');
